﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using MentorBackEnd.Model;
using MentorBackEnd.DA;

namespace MentorBackEnd.DA
{
    public static class MatchManager
    {
        public static List<MemaUser> MatchMentors(int userID)
        {
            return MatchDA.MatchMentors(userID);
        }

        public static void SendRequest(int menteeID, int mentorID)
        {
             MatchDA.SendRequest(menteeID, mentorID);
             return;
        }

        public static void AcceptRequest(int menteeID, int mentorID)
        {
            MatchDA.AcceptRequest(menteeID, mentorID);
            return;
        }

        public static void RejectRequest(int menteeID, int mentorID)
        {
            MatchDA.RejectRequest(menteeID, mentorID);
            return;
        }

        public static List<MemaUser> GetListOfAcceptedMentorsByMentee(int menteeID)
        {
            return MatchDA.GetListOfAcceptedMentorsByMentee(menteeID);
        }

        public static List<MemaUser> GetListOfAcceptedMenteesByMentor(int mentorID)
        {
            return MatchDA.GetListOfAcceptedMenteesByMentor(mentorID);
        }

        public static List<MemaUser> GetListOfPendingRequestsByMentor(int mentorID)
        {
            return MatchDA.GetListOfPendingRequestsByMentor(mentorID);
        }

        public static List<MemaUser> GetListOfPendingRequestsByMentee(int menteeID)
        {
            return MatchDA.GetListOfPendingRequestsByMentee(menteeID);
        }


    }
}